

using Oliving.Edge.IServices.BASE;
using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto.Base;
using Oliving.Edge.Model.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Oliving.Edge.IServices
{
    /// <summary>
    /// sysUserInfoServices
    /// </summary>	
    public interface ISysUserInfoServices : IBaseServices<sysUserInfo>
    {
        Task<sysUserInfo> SaveUserInfo(string loginName, string loginPwd);
        Task<string> GetUserRoleNameStr(string loginName, string loginPwd);



        Task<List<sysUserInfo>> GetEdgePage(int pageIndex, int pageSize);
        Task<PageModel<sysUserInfo>> GetEdgePageModel(int pageIndex, int pageSize);

        Task<List<UserLoginDto>> XGetUserRoleNameStr(string phone);
    }
}
